import request from '@/utils/request'

// 优惠券管理列表
export function apiDiscountCouponLists(params: any) {
    return request.get({ url: '/discount_coupon/lists', params })
}

// 添加优惠券管理
export function apiDiscountCouponAdd(params: any) {
    return request.post({ url: '/discount_coupon/add', params })
}

// 编辑优惠券管理
export function apiDiscountCouponEdit(params: any) {
    return request.post({ url: '/discount_coupon/edit', params })
}

// 删除优惠券管理
export function apiDiscountCouponDelete(params: any) {
    return request.post({ url: '/discount_coupon/delete', params })
}

// 优惠券管理详情
export function apiDiscountCouponDetail(params: any) {
    return request.get({ url: '/discount_coupon/detail', params })
}